package com.wardrobe.soa.api.agreement;


import com.wardrobe.dao.agreement.AgreementDao;
import com.wardrobe.domain.agreement.AgreementShowBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2018/11/7.
 */
@Service
public class AgreementService {
    @Autowired
    private AgreementDao agreementDao;

    public AgreementShowBean getAgreementByType(int type){
        return agreementDao.selectAgreementByType(type);
    }
}
